package org.jeecg.modules.system.announcement.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 消息管理
 * @Author: 月月鸟
 * @Date:   2021-06-15
 * @Version: V1.0
 */
@Data
@ApiModel(value="后台系统消息查询入参", description="消息管理")
public class BikeSysMsgReq{
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;

    /**关联人ID*/
    @Excel(name = "关联人ID", width = 15)
    @ApiModelProperty(value = "关联人ID")
    private String userId;

	/**发布时间*/
	@Excel(name = "发布时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "发布时间")
    private java.util.Date sendTime;

    /**
     * 消息类型
     */
    @Excel(name = "消息类型", width = 15)
    @ApiModelProperty(value = "消息类型，1.上报故障记录，2.问题诉求管理，3.意见反馈")
    private String type;
    /**
     * 消息类型
     */
    @Excel(name = "消息类型", width = 15)
    @ApiModelProperty(value = "消息类型")
    private String titile;

	/**发布人*/
    @Excel(name = "发布人", width = 15)
    @ApiModelProperty(value = "发布人")
    private String sender;

    /**是否已读 */
    @ApiModelProperty(value = "是否已读（1是，0否）")
    private String readFlag;
}
